package com.example.designprinciple.lod;

import java.util.ArrayList;
import java.util.List;

/**
 * @Authors：gaoyang
 * @CreateTime：2021-10-20
 * @Description：todo
 */
public class TeamLeader {
    public void checkNumberOfCourse(){
        List<Course> courseList = new ArrayList<Course>();
        for (int i=0;i<20;i++){
            courseList.add(new Course());
        }
        System.out.println("目前已发布的课程数量是："+courseList.size());
    }
}
